import Vue from 'vue'
import App from './App.vue'
import './assets/css/reset.css'
import ElementUI, { Message } from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import router from './router/index'
import store from './store/index'

import './utils/date'
import './assets/scss/index.scss'
import globalComponents from './libs/globalComponent'
import './libs/errorLog'
Vue.config.productionTip = false
Vue.use(globalComponents);
Vue.use(ElementUI)

Vue.prototype.message = (type,message) => {
  Message({
    message,
    type
  });
}
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
